using System.Diagnostics;
using System.Xml.Serialization;

namespace Edmx.Storage
{
    [DebuggerDisplay("Name={Name}")]
    [XmlType(Namespace = EdmxConstants.StorageSchemaNamespace)]
    public class NavigationProperty : MetadataEntityBase<NavigationProperty>
    {
        [XmlAttribute("Name")]
        public string Name { get; set; }

        [XmlAttribute("Relationship")]
        public string Relationship { get; set; }

        [XmlAttribute("ToRole")]
        public string ToRole { get; set; }

        [XmlAttribute("FromRole")]
        public string FromRole { get; set; }
    }
}